﻿<Window x:Class="SGT.Views.NuevoSectorView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        DataContext="{Binding ABMDepositos, Source={StaticResource Locator}}" d:DesignHeight="300" d:DesignWidth="520" SizeToContent="WidthAndHeight" ResizeMode="NoResize">

    <Grid Background="#FFF0F0F0" Height="253">
    <Grid Background="White" Margin="12,12,12,57">
        <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="25,50,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="Capacidad:" Height="28" HorizontalAlignment="Left" Margin="25,90,0,0" Name="label5" VerticalAlignment="Top" />
        <Label Content="Mercaderia:" Height="28" HorizontalAlignment="Left" Margin="25,128,0,0" Name="label6" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="109,55,0,0" Name="textBox3" VerticalAlignment="Top" Width="184" Text="{Binding Path=SectorNuevo.Nombre}" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="109,92,0,0" Name="textBox4" VerticalAlignment="Top" Width="184" Text="{Binding Path=SectorNuevo.Capacidad}" />
        <ComboBox Height="23" HorizontalAlignment="Left" ItemsSource="{Binding Path=Mercaderias}" Margin="109,128,0,0" Name="comboBox1" VerticalAlignment="Top" Width="184" SelectedItem="{Binding Path=MercaderiaSeleccionada}"
                  DisplayMemberPath="Nombre" />
            <Label Background="#FFF0F0F0" Content="Nuevo sector" FontSize="11" FontWeight="Bold" Foreground="#FF3B3B3B" Height="26" Margin="10,10,6,0" Name="label1" VerticalAlignment="Top" />
        </Grid>
        <Button Content="Agregar" HorizontalAlignment="Right" Margin="0,212,102,18" Name="button1" Width="75" Command="{Binding Path=AgregarSector}" />
        <Button Content="Cancelar" Margin="0,212,193,18" Name="button2" HorizontalAlignment="Right" Width="75" />
        <Button Command="{Binding Path=AgregarSector}" Content="Listo" HorizontalAlignment="Right" Margin="0,212,12,18" Name="button3" Width="75" />
    </Grid>
</Window>
